package cn.hx.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 事项负责人(ItemUser)实体类
 *
 * @author makejava
 * @since 2022-08-26 16:33:28
 */
public class ItemUser implements Serializable {
    private static final long serialVersionUID = 806468602288799706L;
    /**
     * 自责id
     */
    private Integer id;
    /**
     * 事项id
     */
    private Item item;
    /**
     * 用户id
     */
    private UserInfo userInfo;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 联系电话
     */
    private String telephone;
    /**
     * 职责
     */
    private String duty;
    /**
     * 职位
     */
    private String position;

    private String headPortrait;

    private String name;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getHeadPortrait() {
        return headPortrait;
    }

    public void setHeadPortrait(String headPortrait) {
        this.headPortrait = headPortrait;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "ItemUser{" +
                "id=" + id +
                ", item=" + item +
                ", userInfo=" + userInfo +
                ", createTime=" + createTime +
                ", telephone='" + telephone + '\'' +
                ", duty='" + duty + '\'' +
                ", position='" + position + '\'' +
                ", headPortrait='" + headPortrait + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}